package com.navinfo.data.journal;

public class JournalDesc {
    String points;
    int journalDistance;
    int totalDistance;
    int avgDuration;

    public JournalDesc(String points, int journalDistance, int totalDistance, int avgDuration) {
        this.points = points;
        this.journalDistance = journalDistance;
        this.totalDistance = totalDistance;
        this.avgDuration = avgDuration;
    }

    public int getAvgDuration() {
        return avgDuration;
    }

    public void setAvgDuration(int avgDuration) {
        this.avgDuration = avgDuration;
    }

    public String getPoints() {
        return points;
    }

    public void setPoints(String points) {
        this.points = points;
    }

    public int getJournalDistance() {
        return journalDistance;
    }

    public void setJournalDistance(int journalDistance) {
        this.journalDistance = journalDistance;
    }

    public int getTotalDistance() {
        return totalDistance;
    }

    public void setTotalDistance(int totalDistance) {
        this.totalDistance = totalDistance;
    }

    @Override
    public String toString() {
        return "JournalDesc[points=" + points + ",journalDistance=" + journalDistance + ",totalDistance=" + totalDistance
                + ",avgDuration=" + avgDuration+ "]";
    }
}
